



class Student {
	constructor(name,sex,age,nickname) {
		this.name = name;
		this.sex = sex;
		this.age = age;
		this.nickname = nickname;
		this.run = function(){
			console.log(this.name + '在跑步。');
		}
		this.pingpong = function(){
			console.log(this.name + "在打乒乓球。");
		}
		this.coding = function(){
			console.log(this.name + '在编程。');
		}
		this.learning = function(){
			console.log(this.name + '在学习。');
		}
	}
}

